import ReactDOM from 'react-dom/client'
import { Provider } from 'react-redux'
import { store,persistor } from '@/store'
import { PersistGate } from 'redux-persist/integration/react'
import App from './App'
import '@/common/styles/index.less'
import "@/language/index";

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
  <Provider store={store}>
    <PersistGate loading={null} persistor={persistor}>
      <App />
    </PersistGate>
  </Provider>
)
